package com.macro.mall.tiny.modules.ums.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.macro.mall.tiny.modules.ums.model.MeetingDepart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.macro.mall.tiny.modules.ums.model.MeetingRoom;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author macro
 * @since 2024-04-11
 */
public interface MeetingDepartService extends IService<MeetingDepart> {
    /**
     * 分页获取会议室列表
     */
    Page<MeetingDepart> list(String keyword, Integer pageSize, Integer pageNum);

    /**
     * 添加会议室
     */
    boolean create(MeetingDepart meetingDepart);

    /**
     * 删除指定会议室
     */
    boolean delete(Long id);
    /**
     * 更新会议室
     */
    public boolean updateByMeetingId(MeetingDepart meetingDepart);
}
